//Smart menu by Artem Merkovich:
/**
 * Create a link of class .menuLink give it's title attribute the value you want 
 * to see in the heading of the page and it id attribute the content page name 
 * from contents folder and you are done!
 * 
 * triggers from the event of clicking the menu and changes page title according to
 * the title attribute of the \<a\> and loads the page contents  
 */
$(document).ready(function(){
  $(".menuLink").click(function(){
    $("#title").html($(this).attr("title"));
    $("#contenttext").load('contents/' + $(this).attr("id") + '.jsp');  
  });
});


